package com.example.moshudriver.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.BeeFramework.activity.BaseActivity;
import com.sgr.dykdriver.R;
//个人简介详情
public class ProfileBriefDetailActivity extends BaseActivity implements
		View.OnClickListener {
	private TextView mProfileBrief;
	public static final String BRIEF = "brief";
	private TextView mTitle;
//	private ImageView mTopViewRightImage;
	private ImageView mTopViewBack;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.profile_brief_detail);
		mProfileBrief = (TextView) findViewById(R.id.tv_profile_brief);
//		mTopViewRightImage = (ImageView) findViewById(R.id.top_view_right_image);
		mTopViewBack = (ImageView) findViewById(R.id.top_view_back);
//		mTopViewRightImage.setVisibility(View.GONE);
		mTitle = (TextView) findViewById(R.id.top_view_title);
		mTitle.setText(getString(R.string.profile_brief_detail));

		String brief = getIntent().getStringExtra(BRIEF);
		if (brief != null) {
			mProfileBrief.setText(brief);
		}
		mTopViewBack.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		// 点击发布需求，后退返回
		case R.id.top_view_back:
			finish();
			break;
		}
	}
}
